package com.zan.pattern.builder.demo1.before;

/**
 * @Author Zan
 * @Create 2024/4/25 16:15
 * @Description : TODO(请用一句话描述该类的功能)
 * @ClassName: Client
 */
public class Client {
    public static void main(String[] args) {
        // 创建指挥者对象
//        Director director = new Director(new MobileBuilder());
        Director director = new Director(new OfoBuilder());
        // 让指挥者指挥组装自行车
        Bike bike = director.construct();

        System.out.println(bike);
    }
}
